package com.yue.design.factoryAbstract;

/**
 * 抽象工厂相对工厂方法，抽象工厂创建的对象种类多
 */
public class Test {
    public static void main(String[] args) {
        AaFactory aaFactory = new AaFactory();
        Coffee coffee = aaFactory.createCoffee();
        Milk milk = aaFactory.createMilk();
        coffee.drank();
        milk.mth();
    }
}
